<template>
  <div id="tab-bar">
    <!-- 匿名插槽 -->
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'tabbar'
}

</script>
<style>
#tab-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: #f6f6f6;
  box-shadow: 0 -2px -2px rgb(100, 100, 100, 0.3);
}
</style>